/*
PearReview - The peer review assistant.
Copyright (C) 2009  Dimitrij Pankratz, Anton Musichin
http://www.pearreview.com, info@pearreview.com

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

package com.pearreview.util.review;

import java.io.Serializable;
import java.util.List;

public class Review implements Serializable {

	private static final long serialVersionUID = 2263218036365911297L;
	
	private String name;
	private String description;
	private Product product;
	private IdList<Attendee> attendees;
	private List<Severity> severities;
	private IdList<Aspect> aspects;
	private List<Meeting> meetings;
	private String impression;
	private String recommendation;
	private String comments;
	
	public Review() {
		
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDescription() {
		return description;
	}
	
	public void setProduct(Product product) {
		this.product = product;
	}
	public Product getProduct() {
		return product;
	}
	
	public void setAttendees(IdList<Attendee> attendees) {
		this.attendees = attendees;
	}	
	public IdList<Attendee> getAttendees() {
		return attendees;
	}
	
	public void setSeverities(List<Severity> severities) {
		this.severities = severities;
	}
	public List<Severity> getSeverities() {
		return severities;
	}
	
	public void setAspects(IdList<Aspect> aspects) {
		this.aspects = aspects;
	}
	public IdList<Aspect> getAspects() {
		return aspects;
	}
	
	public void setMeetings(List<Meeting> meetings) {
		this.meetings = meetings;
	}
	public List<Meeting> getMeetings() {
		return meetings;
	}
	
	public void setImpression(String impression) {
		this.impression = impression;
	}
	public String getImpression() {
		return impression;
	}
	
	public void setRecommendation(String recommendation) {
		this.recommendation = recommendation;
	}
	public String getRecommendation() {
		return recommendation;
	}
	
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getComments() {
		return comments;
	}
	
	@Override
	public String toString() {
		return "[name: " + getName() + ", "
				+ "description: " + getDescription() + ", "
				+ "product: " + getProduct() + ", "
				+ "attendees: " + getAttendees() + ", "
				+ "severities: " + getSeverities() + ", "
				+ "aspects: " + getAspects() + ", "
				+ "meetings: " + getMeetings() + ", "
				+ "impression: " + getImpression() + ", "
				+ "recommendation: " + getRecommendation() + ", "
				+ "comments: " + getComments() + "]";
	}
}
